package bbs.controller;


import bbs.controller.base.ABaseController;
import bbs.entity.vo.ResponseVO;
import bbs.service.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController("mapController")
@RequestMapping({"/map"})
public class MapController extends ABaseController {

    @Autowired
    private MapService mapService;

    /**
     * 获取地区热度
     * @return
     */
    @RequestMapping()
    public ResponseVO getAreaLevel() {
        return getSuccessResponseVO(mapService.getAreaLevel());
    }
}
